package com.cloud.share.distribution.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.cloud.share.admin.entity.User;


/**
 * ${DESCRIPTION}
 *
 * @author wanghaobin
 * @create 2017-06-21 8:11
 */
//@FeignClient(value = "ace-admin",configuration = FeignConfiguration.class)
@FeignClient(value = "ace-admin")
public interface IUserService {
  @RequestMapping(value = "/api/user/{id}", method = RequestMethod.GET)
  public User getUser(@PathVariable int id);
     
}
